package com.qianfeng.smartmeeting.service.impl;

import com.qianfeng.smartmeeting.mapper.TimeslotMapper;
import com.qianfeng.smartmeeting.util.PageUtils;
import com.qianfeng.smartmeeting.util.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.qianfeng.smartmeeting.entity.TimeslotEntity;
import com.qianfeng.smartmeeting.service.TimeslotService;


@Service("timeslotService")
public class TimeslotServiceImpl extends ServiceImpl<TimeslotMapper, TimeslotEntity> implements TimeslotService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TimeslotEntity> page = this.page(
                new Query<TimeslotEntity>().getPage(params),
                new QueryWrapper<TimeslotEntity>()
        );

        return new PageUtils(page);
    }

}